package com.wsc.personalblog.DTO;

import com.wsc.personalblog.entity.Article;
import com.wsc.personalblog.entity.Tag;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("文章扩展类")
public class ArticleDTO extends Article {

    @ApiModelProperty("文章标签数据")
    private List<Tag> tag;
    @ApiModelProperty("文章字节数据")
    private byte[] file;
    @ApiModelProperty("文章字符串数据")
    private String StrFile;
    @ApiModelProperty("文章格式")
    private String format;
}
